﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Core.DatabaseHelpers;

namespace Core.Interfaces
{
    [Table("customer")]
    public interface ICustomer:IDomainObject
    {
        [Column("customer_id", ColumnAttribute.KeyType.Auto, true)]
        [Browsable(false)]
        int CustomerID { get; set; }
        [DisplayName("Адресс")]
        [Column("adress")]
        string Address { get; set; }

        [DisplayName("Контактный телефон")]
        [Column("telephone")]
        string Telephone { get; set; }

        [DisplayName("Тип")]
        [Column("type")]
        string Type { get; }

        bool IsPrivate();
        void ToJuragial();
    }
}
